﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Administrator/Views/Shared/admin.master" Inherits="System.Web.Mvc.ViewPage<CollegeWebsite.Areas.Administrator.Models.Student>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">StudentID</div>
        <div class="display-field"><%= Html.Encode(Model.StudentID) %></div>
        
        <div class="display-label">StudentName</div>
        <div class="display-field"><%= Html.Encode(Model.StudentName) %></div>
        
        <div class="display-label">FatherName</div>
        <div class="display-field"><%= Html.Encode(Model.FatherName) %></div>
        
        <div class="display-label">MotherName</div>
        <div class="display-field"><%= Html.Encode(Model.MotherName) %></div>
        
        <div class="display-label">DateOfBirth</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.DateOfBirth)) %></div>
        
        <div class="display-label">Gender</div>
        <div class="display-field"><%= Html.Encode(Model.Gender) %></div>
        
        <div class="display-label">AdmissionID</div>
        <div class="display-field"><%= Html.Encode(Model.AdmissionID) %></div>
        
        <div class="display-label">SupportDetails</div>
        <div class="display-field"><%= Html.Encode(Model.SupportDetails) %></div>
        
        <div class="display-label">Status</div>
        <div class="display-field"><%= Html.Encode(Model.Status) %></div>
        
    </fieldset>
    <p>

        <%= Html.ActionLink("Edit", "Edit", new { id=Model.StudentID }) %> |
        <%= Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="TitleContentPlaceHolder" runat="server">
</asp:Content>
